netfilter: nft_ct: add notrack support
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 20 Oct 2016 16:07:14 +0000 (18:07 +0200)
committerYves-Alexis Perez <corsac@debian.org>
Fri, 9 Feb 2018 12:58:52 +0000 (12:58 +0000)
commit359579ae5e4adde8cba854a1de7a57e1ef26734b
tree226ee026ba12e8b1d140b9589a220f64c4892952
parent6287bfd34a0687b1f7bd8ee6af49270c108f0b12
netfilter: nft_ct: add notrack support

This patch adds notrack support.

I decided to add a new expression, given that this doesn't fit into the
existing set operation. Notrack doesn't need a source register, and an
hypothetical NFT_CT_NOTRACK key makes no sense since matching the
untracked state is done through NFT_CT_STATE.

I'm placing this new notrack expression into nft_ct.c, I think a single
module is too much.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Gbp-Pq: Topic features/all
Gbp-Pq: Name netfilter-nft_ct-add-notrack-support.patch
net/netfilter/nft_ct.c